home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ Desktop ToolTips 1.xpl < prev    next >
Text File  |  1999-08-26  |  2KB  |  58 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="1"
  3. "COUNT"="3"
  4. "UIPATH"="Appearance\Desktop\Tool Tips"
  5. "NAME"="Tool Tips #1"
  6. "VERSION"="2.02"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="My Computer"
  9. "TEXT 2"="My Documents"
  10. "TEXT 3"="My Network"
  11. "DESCRIPTION 1"="If you have ActiveDesktop or Windows 2000 installed, a small yellow window (aka Tool Tip) for these items will appear on the desktop if you pass them with your mouse."
  12. "DESCRIPTION 2"="You can change these tips to anything you want."
  13. "AUTHOR"="Xteq Systems"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  16.  
  17.  
  18. '******************************************************************
  19. '***             ###   MASTER TEMPLATE   ###                   ****
  20. '******************************************************************
  21. sVals=Array("{20D04FE0-3AEA-1069-A2D8-08002B30309D}","{450D8FBA-AD25-11D0-98A8-0800361B1103}","{208D2C60-3AEA-1069-A2D7-08002B30309D}")
  22. '******************************************************************
  23. '*** Keep an eye on the order (must be the same as "TEXT x") ! ****
  24. '******************************************************************
  25. sP="HKLM\Software\Classes\CLSID\"
  26. sV="InfoTip"
  27.  
  28. Sub Plugin_Initialize 
  29.  for i=0 to UBound(sVals)
  30.      Call ReadIt(i+1,sVals(i)) 
  31.  next 
  32. End Sub
  33.  
  34. Sub ReadIt(UI,VAL)
  35.  s=RegReadValue(sp & VAL & "\" & sV)
  36.  Call SetUIElement(UI,s)
  37. End Sub
  38.  
  39.  
  40.  
  41. Sub Plugin_CheckData(ElementIndex)
  42. End Sub
  43.  
  44. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  45.  for i=0 to UBound(sVals)
  46.      Call WriteIt(i+1,sVals(i)) 
  47.  next 
  48. End Sub
  49.  
  50. Sub WriteIt(UI,VAL)
  51.  s=GetUIElement(UI)
  52.  Call RegWriteValue(sp & VAL & "\" & sV,s,1)
  53. End Sub
  54.  
  55.  
  56. Sub Plugin_Terminate 
  57. End Sub
  58.